import { request }from "@/utils/request"
/**
 * 来料水分预测训练进度
 * @param {FormData} data 表单数据
 */
 
const trainWaterModel = (data) => {
    return request({
        url: `/retraining_water`,
        method: 'POST',
        headers: {
            'Content-Type': 'multipart/form-data',
        },
        data
    })
}
 
/**
 * 烘丝机参数预测模型的训练时间进度
 * @param {obj} data 
 */
const trainParamsModel = (data) => {
    return request({
        url: `/retraining_param`,
        method: "POST",
        headers: {
            'Content-Type': 'multipart/form-data',
        },
        data
    })
}

export {
    trainWaterModel,
    trainParamsModel
}
